﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:ScanBook" x:Class="ScanBook.MainWindow"
    x:Name="window1"
        Title="" Height="200" Width="155" Icon="Tpdkdesign.net-Refresh-Cl-Hardware-Scanner-2.ico">
    <Window.TaskbarItemInfo>
        <TaskbarItemInfo x:Name="taskbar1" ProgressState="Normal"/>
    </Window.TaskbarItemInfo>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="30"/>
        </Grid.RowDefinitions>
        <Grid.ContextMenu>
            <ContextMenu>
                <MenuItem x:Name="dpi600"  Header="600 dpi" IsCheckable="True" Checked="dpi600_Checked_1" Unchecked="dpi600_Unchecked_1"/>
                <MenuItem x:Name="HalfPage" Header="Half Page" IsCheckable="True" Checked="HalfPage_Checked_1" Unchecked="HalfPage_Unchecked_1"/>
                <MenuItem x:Name="DestinationDirectory" Header="Destination Directory" IsCheckable="False" Click="Destination_Directory_1"/>
            </ContextMenu>
        </Grid.ContextMenu>
        <Button Grid.Row="0" x:Name="button_Do" Click="button_Do_Click" FontSize="24" FontWeight="ExtraBold"/>
        <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Stretch" VerticalAlignment="Center">
            <TextBox x:Name="textBox" Background="DarkSeaGreen"  Text="*" IsReadOnly="True" Width="100" FontSize="18" FontWeight="ExtraBold" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" />
            <CheckBox x:Name="checkBox" Background="DarkSeaGreen" IsThreeState="False" Width="30" Margin="10,0,0,0" VerticalAlignment="Center" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Checked="checkBox_Checked" Unchecked="checkBox_Unchecked"/>
        </StackPanel>
        <!--
            <local:UC_PageChangeReminder Grid.Row="1" x:Name="uc_PageChangeReminder"/>
        -->
    </Grid>
</Window>
